'''
c = [1, 3, 23, 56, 5, 12, 4]
for i in c:
    if i <= 5:
        print(i, end = ', ')

k = [1, 2, 45, 54, 14, 32, 5, 22]
x = [4, 14, 5, 25, 22, 15, 45, 8]
print(list(set(k)&set(x)))
# print([i for i in k if i in x])
'''
i = 1
a = int(input('qatorlar sonini kiriting: '))
while i <= (a + 1):
    print((i * '*').center(a*2))
    i += 2
print('\n')
